
<% content_for :main_div do %>
  <div id="app" class="register">
<% end %>

<div class="sessions-new">
  <div class="row">
    <div class="col-xs-2" style="width: 10%;">
      <a href="/">
         <i class="icon-logo" style="display:block;margin-top: 50px;margin-left:80px;font-size: 50px;"></i>
      </a>
    </div>
  </div>
  <div class="new-form">
    <div class="form-header">
      <div><a href="/sign_in" class="active">登录</a></div>
      <span style="font-size:24px;margin-top: 5px;color:#969696;">·</span>
      <div><a href="/sign_up">注册</a></div>
    </div>
    <div class="form-content">
      <form class="home-from" method="POST" action="/sessions">
          <%= flash_messages %>
        <div class="form-group first-column">
          <i class="icon-sign-in-user input-icon"></i>
          <input type="text" class="form-control private-input" placeholder="账号/手机号" name="mobile" id="user_mobile">
        </div>
        <div class="form-group">
          <i class="icon-sign-in-password input-icon"></i>
          <input type="password" class="form-control private-input" placeholder="密码" name="password" />
        </div>
        <div class="form-group">
          <label for="user_remember_me" class="checkbox-inline">
            <input type="checkbox" name="remember_me" id="user_remember_me"> 记住我的登录状态
          </label>
        </div>
        <div class="form-group">
          <%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
          <button class="btn btn-primary private-btn btn-block submit-button">登&nbsp;&nbsp;&nbsp;&nbsp;录</button>
        </div>
        <div class="form-group form-links">
          <a href="/sign_up">免费注册</a>
          <a href="/password_reset">忘记密码</a>
        </div>
        <!--
        <div class="form-group">
          <h5>其他账号登录</h5>
        </div>
        <div class="form-group other-sign-way">
          <a href="<%= omniauth_authorize_path(:wechat) %>">
            <i class="fa fa-weixin fa-lg"></i>
          </a>
        </div>
        -->
      </form>
    </div>
  </div>
</div>
